package com.example.model.query;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.model.entity.SuppliesType;
import com.example.model.entity.TSource;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 *  实体类
 *
 * @author zhangr
 * @Description Created on 2020-12-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TSourceQuery extends Page<TSource> {

    /**
     * 来源id
     */
    private String sourceId;

    /**
     * 来源名称
     */
    private String sourceName;

    /**
     * 有效性
     */
    private Long isValid;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;

    /**
     * 修改时间
     */
    private LocalDateTime updateDate;

    /**
     * 备注
     */
    private String remarks;
    private String sourceNum;

}
